<?php
headr("Content-type:text/html; charset=utf-8");
require_once 'shuju.php';

$conn;

$sql = "SELECT * FROM t_message";
$result = $conn->query($sql);


echo"<pre>";
print_r($result->fetch_assoc());
/*$rows = $resluit->fetch_all(MYSQLI_ASSOC);
print_r($rows);
foreach($rows as $value){
    echo"<br/>";
    echo $value['usename'] " 说： ".$value['content'];
}*/